|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /etc/dhcp/dhclient-enter-hooks.d/ |
Upload File : |
#!/bin/sh
## Sourced, not exec'ed, but helps syntax highlighting
#
# Script fragment disabling make_resolv_conf(),
# to be used in conjunction with dhclient-exit-hooks.d/resolved
#
if systemctl is-enabled systemd-resolved > /dev/null 2>&1; then
# Undefine the nasty default make_resolv_conf() to avoid it overriding
# /etc/resolv.conf (or /run/systemd/resolve/stub-resolv.conf)
make_resolv_conf() { : ; }
fi